Add code to handle N-components
authorØyvind Kolås <pippin@gimp.org>
Sun, 27 Jun 2010 23:42:02 +0000 (00:42 +0100)
committerØyvind Kolås <pippin@gimp.org>
Mon, 28 Jun 2010 00:48:14 +0000 (01:48 +0100)
commit6e83f2cdf03db496731d9375f90ba05320ac6fb5
tree0f53d37729e68f8c7c746066388ac3f64e526b1a
parentec2bbd3f89f7cef65edd15d6d8fa516259714241
Add code to handle N-components

Added a new API call, babl_format_n (). This allows constructing a babl
format with an arbitrary number of components all of the same type. At
the moment. The model used for such formats is "Y", at the moment
conversions are only well defined for such formats to other n-component
formats with the same number of components.
babl/babl-classes.h
babl/babl-fish-reference.c
babl/babl-format.c
babl/babl.h
tests/Makefile.am
tests/n_components.c [new file with mode: 0644]